package com.edu.dao;

import com.edu.entity.CategoryEntity;

import java.util.List;

/**
 * com.edu.dao
 * 2024/7/4 21:03
 *
 * @author Fancy
 * @version 1.0
 */
public interface CategoriesDao {
    /**
     * 根据传入的categoryId进行商品分类的查询
     * @param categoryId
     * @return
     */
    CategoryEntity getCategoryById(int categoryId);

    List<CategoryEntity> getAllCategory();
}
